package com.xm2.demo.system.center.service;

import com.xm2.demo.model.Center;
import com.xm2.demo.system.center.dto.CenterInfo;
import com.xm2.demo.system.center.dto.CenterPage;
import com.xm2.demo.utils.Pagination;

import java.util.List;


/**
 * @Create
 * @create 2018-12-12 14:54
 * @Description：
 */
public interface CenterService {

    Pagination findByPageable(Pagination pagination);

    void addCenter(CenterInfo centerInfo);

    void deleteByIds(String ids);

    List<Center> findAll();

    Pagination findByCenterName(CenterPage centerPage);
}
